package com.ics.framework.util;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ics.framework.web.domain.Search;

/**
 * @author shaoly
 * @description
 * @ClassName PageUtil.java
 * @createTime 2023年06月13日 17:26:25
 */
public class PageUtil {

    public static <T> Page<T> getPage(Search search) {
        return new Page(search.getPageNum(), search.getPageSize());
    }

}
